#include <iostream>
#include "SpreadsheetCellCtors.h"

using namespace std;
int main()
{
	SpreadsheetCell* cellPtr1 = new SpreadsheetCell(5);
	SpreadsheetCell* cellPtr2 = new SpreadsheetCell(6);
	cout << "cellPtr1: " << cellPtr1->getValue() << endl;
	delete cellPtr1;	//Destroys calPtr1
	cellPtr1 = nullptr;
	return 0;
}// cellPtr2 is NOT destroyed because delete was not called on it.